package com.haorui.lygyd.wxapi.entity;

import com.haorui.base.core.IdEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * 创建人: 系统生成
 * 日期: Sat Sep 30 16:00:14 CST 2017
 */
@ApiModel(value = "微信用户")
@Entity
@Table(name = "sys_weixin_user_info")
@Data
@EqualsAndHashCode(callSuper = false)
public class WXUserInfoEntity extends IdEntity {
    @ApiModelProperty(value = "用户的标识")
    private String openId;
    @ApiModelProperty(value = "关注状态")
    private int subscribe;
    @ApiModelProperty(value = "用户关注时间")
    private String subscribeTime;
    @ApiModelProperty(value = "昵称")
    private String nickname;
    @ApiModelProperty(value = "性别")
    private String sex;
    @ApiModelProperty(value = "所在国家")
    private String country;
    @ApiModelProperty(value = "所在省份")
    private String province;
    @ApiModelProperty(value = "所在城市")
    private String city;
    @ApiModelProperty(value = "用户的语言")
    private String language;
    @ApiModelProperty(value = "用户头像")
    private String headImgUrl;
    @ApiModelProperty(value = "关联会员")
    private String memberId;
    @ApiModelProperty(value = "微信token")
    private String accessToken;
}